package com.hlf.modules.wechat.model;

import com.hlf.modules.base.entity.BaseModel;

/**
 * 公众号和开放平台实体类
 * 
 * @author shuliangxing
 *
 * @date 2017年4月18日 下午8:37:11
 */
public class OfficialAccount extends BaseModel {

    /**  */
    private static final long serialVersionUID = -2974107877967373001L;

    private Long topAgentId;

    private String originalId;

    private String appId;

    private String appSecret;

    private String name;

    private Integer type;

    private String token;

    private String remarks;

    private Integer delFlag;

    public Long getTopAgentId() {
        return topAgentId;
    }

    public void setTopAgentId(Long topAgentId) {
        this.topAgentId = topAgentId;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId == null ? null : appId.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }

    public String getOriginalId() {
        return originalId;
    }

    public void setOriginalId(String originalId) {
        this.originalId = originalId;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    @Override
    public String toString() {
        return "OfficialAccount{" +
                "topAgentId=" + topAgentId +
                ", originalId='" + originalId + '\'' +
                ", appId='" + appId + '\'' +
                ", appSecret='" + appSecret + '\'' +
                ", name='" + name + '\'' +
                ", type=" + type +
                ", token='" + token + '\'' +
                ", remarks='" + remarks + '\'' +
                ", delFlag=" + delFlag +
                '}';
    }
}